/* duel-choose.css - 对决模式选择页面样式 */

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duel-container {
    max-width: 900px;
    width: 100%;
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
}

.mode-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.mode-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.mode-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.mode-card.local-pve {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
}

.mode-card.local-pvp {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 152, 0, 0.1));
}

.mode-card.online-pvp {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(156, 39, 176, 0.1));
}

.mode-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.mode-card.local-pve .mode-icon {
    color: #4CAF50;
}

.mode-card.local-pvp .mode-icon {
    color: #FF9800;
}

.mode-card.online-pvp .mode-icon {
    color: #9C27B0;
}

.mode-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.mode-type {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.mode-card.local-pve .mode-type {
    background: #4CAF50;
    color: white;
}

.mode-card.local-pvp .mode-type {
    background: #FF9800;
    color: white;
}

.mode-card.online-pvp .mode-type {
    background: #9C27B0;
    color: white;
}

.mode-description {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.controls-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.controls-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.control-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.control-key {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 10px;
    font-family: monospace;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
}

.control-desc {
    color: #ccc;
}

.mode-features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.feature {
    text-align: center;
}

.feature-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.feature-label {
    font-size: 0.8rem;
    color: #999;
}

/* 特色功能样式修复 */
.features h6 {
    color: #e0e0e0 !important;
    font-weight: bold;
    margin-bottom: 10px;
}

.features ul {
    color: #b0b0b0 !important;
}

.features ul li {
    margin-bottom: 5px;
    line-height: 1.4;
}

.features .text-muted {
    color: #b0b0b0 !important;
}

.mode-card.local-pve .feature-value {
    color: #4CAF50;
}

.mode-card.local-pvp .feature-value {
    color: #FF9800;
}

.mode-card.online-pvp .feature-value {
    color: #9C27B0;
}

.select-btn {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.select-btn.disabled {
    background: rgba(255, 255, 255, 0.2);
    color: #999;
    cursor: not-allowed;
}

.select-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mode-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .mode-card {
        padding: 20px;
    }
    
    .mode-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .mode-title {
        font-size: 1.5rem;
    }
    
    .controls-section {
        padding: 15px;
    }
    
    .control-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .control-key {
        margin-bottom: 5px;
        margin-right: 0;
    }
}